package com.hades.example.java.refactoring.after.c11.c11_2_pull_up_method.v1;

public class Example {
    public static void main(String[] args) {
        Salesman employee = new Salesman();
        employee.name = "Salesman";
        System.out.println(employee.getName());

        Engineer employee2 = new Engineer();
        employee2.name = "Engineer";
        System.out.println(employee2.getName());
    }
}